package com.example.shop_car_2208.entity

import androidx.room.Entity
import androidx.room.PrimaryKey

data class SelectResult(
    val code: Int,
    val `data`: List<CarEntity>,
    val message: String
)
@Entity(tableName = "order")
data class CarEntity(
    var count: Int,
    val goods_default_icon: String,
    val goods_default_price: Int,
    val goods_desc: String,
    val goods_id: Int,
    @PrimaryKey
    val id: Int,
    val order_id: Int,
    val user_id: Int,
    //是否选中
    var isChecked: Boolean,
    var status:Int//记录订单的状态0 待下单 1 待支付 2 已支付 3 待收货 4 待发货
)